<script language="javascript" type="text/javascript">
	
    function getValueSingle(kode, nama, elm) {
        try {
            parent.parent._obj_fSendValue(kode, nama, 'id_biller', 'biller');
        }
        catch(e) { alert(e.message); }
        parent.parent.focus();

<?php echo CloseGB(false); // close grebox   ?>
                 
    }
</script>


<div id="masthead">
    <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
        <tr>
            <td><h1>Data Log Pengguna</h1></td>
            <td id="breadcrumb_right">&nbsp;</td>
        </tr>
    </table>
</div>


<div id="content">
    <div class="DivTable">
        <form name="fCari" id="fCari" action="" method="get" >
            <table class="GridTableFilter">
                <tr>
                    <td>
                        <?php
                        echo $fp;
                        ?>
                    </td>
                </tr>
            </table>
        </form>

        <table class="GridTable">
            <tr>
                <td colspan="20" class="noborder">
                    <div class="box-control">
                        <?php
                        //echo "<a href=\"#\" class=\"search\" title=\"Cari Data\">&nbsp;</a>";
                        ?>
                    </div>
                </td>
            </tr>
            <tr class="GridHeader">
                <td>No.</td>
                <td>Waktu</td>
                <td>Pengguna</td>
                <td>Keterangan</td>
            </tr>
            <?php
            if ($rows > 0) {
                $nomor = $offset;
                foreach ($data as $row) {
                    $nomor++;
                    $styleTR = "GridItem1";
                    ?>
                    <tr class="<?php echo $styleTR; ?>">
                        <td><?php echo $nomor; ?></td>		
                        <td><?php echo $row->log_time; ?></td>
                        <td><?php echo $row->log_aktor; ?></td>
                        <td><?php echo $row->log_event; ?></td>
                    </tr>

                    <?php
                }
            } else {
                ?>
                <tr class="GridItem1">
                    <td colspan="4">Tidak ada data</td>
                </tr>

                <?php
            }
            ?>
        </table>
    </div>
</div>
<?php echo $paging; ?>
<br class="bersih" />
<script type="text/javascript">

    function exportData(){
        location.href = '<?php echo base_url() ?>index.php/popup/log_user/<?php echo $kode; ?>/?act=exp&<?php echo $_SERVER["QUERY_STRING"] ?>';
    }

    jQuery(document).ready(function(){
        jQuery(".tr_slide").hide();
        jQuery('.search').click(
        function(){
            jQuery(".tr_slide").slideToggle();
        }
    );
    });

</script>